home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
os20
/
util
/
move20a.lha
/
move.doc
< prev
next >
Wrap
Text File
|
1993-02-24
|
5KB
|
138 lines
Move 2.0a
---------
Written by Asher Feldman
Note: Move requires the Copy, Rename and Delete commands in your c directory.
Move 2.0a requires kickstart 2.04 or higher. If you have not yet upgraded,
you should use Move 1.1. (Or better yet, upgrade! :-)
Changes since 2.0
-----------------
2.0a contains a major bug fix, as well as a few minor ones. When you
were moving a directory with one or more subdirectories with 2.0 it would
delete all the subdirectories without moving them. Also when moving a
directory, the files would me moved, but the actual directory wouldn't
be moved. (Just deleted) All these problems have been fixed in this
release.
Changes since 1.1
-----------------
The biggest change is the ability to preform "true" moves (renames) on
files automatically if they're on the same volume, while still correctly
moving files across volumes. This makes moving files around on a single HD
partition much faster. Also, Move now correctly works with the "" wildcard
and all other 2.0 wildcards. (See below for usage.)
What is it?
-----------
Move is a simple "move" command. It allows you to move files to and from
any device or directory. It performs the same function as the Move command
on a directory utility, but from the CLI or Shell. It can also be used as
a Rename command.
Move will also allow you to move file links.
Usage
-----
Move [FROM] <arg1> [TO] <arg2>
(The [FROM] and [TO] are optional)
<arg1> is the file you want to move. It can contain wildcards, such as
"#?.lha". Or "*.lha" if you are using a program such as Starburst to
enable the * wildcard on your system.
<arg2> is the destination. It can be a filename, directory or device.
The "" wildcard may be used here, and stands for the directory you're in.
To move the file "readme" to ram: you would enter: (FROM and TO not needed)
Move FROM readme TO ram:
To move all files that have the prefix "mod" to the directory DH0:Music
you would enter:
Move mod* DH0:Music
To move "ram:readme" to your current directory you would enter:
Move ram:readme ""
If you want to move every file in one directory to another, it would be:
Move <dir> <dir>
Move can also be used to rename a file. To change the name of the file
"SONG.MOD" to "MOD.SONG" you would enter:
Move SONG.MOD MOD.SONG
You can move multiple files without using wildcards as well. For example,
to move the files "lha", "uux", and "slect" to c: you could enter:
Move (lha|uux|slect) c:
To move them all back to the current directory you would use:
Move c:(lha|uux|slect) ""
General Info
------------
There were already two "Move" utilities floating around in the public
domain that I knew of when I wrote this. Both have built-in copy and
delete routines. I thought this was a waste of space, especially for those
of us with very limited resources. Thus I wrote Move, which takes advantage
of the "Copy", "Rename, and "Delete" commands already on everyone's system.
This allows Move to be much smaller than the other "Move" utils, yet operate
just as fast, or faster in some cases. Move will accept all the standard
2.0 wildcards (If you want to use * you must first activate it with a program
such as Starburst)
Move will obviously run much faster if you have the Copy, Rename, and
Delete commands in residence.
* * *
NOTE:
In the case of
Move yy xx
where the file xx already exists, xx will be overwritten without warning.
How To Contact Me
-----------------
Send bug reports/comments, etc.. to:
PORTAL: Wizard0
INTERNET: asher@netcom.netcom.com
Wizard0@cup.portal.com
US Snail: (send money here :-)
Asher Feldman
4791 Calle de Tosca
San Jose, CA 95118
If you find this program useful, then please feel free to send large
sums of cash to the above address.
And Now For The Legal Claptrap
-------------------------------
If this program causes your computer to blow up, or your hard drive to
implode, or anything else that isn't too nice, then it's your fault, not
mine. This program is not "guaranteed" to do anything. (although if it
doesn't, please send me (E)mail!)
This program may be freely distributed as long as this doc file is included.
A.F.